<%-- 
    Document   : userAction
    Created on : 5 Jan, 2012, 9:32:25 PM
    Author     : Saravanan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>CASSYS</title>
    </head>
    <body>
        <s:form namespace="/UserManagement" method="POST" >
            <s:textfield name="userId" label="User ID *" /><br>
            <s:textfield name="firstName"  label="First Name *"/><br>
            <s:textfield name="lastName" label="Last Name *"/><br>
            
            <s:textfield name="password" label="Password *"/><br>
            <s:select list="roleList" label="Role" name="role"/>
            <s:textfield name="contactNumber" label="Contact Number"/><br>
            <s:textfield name="email" label="Email ID"/><br>
            <s:textfield name="pincode" label="Pincode"/><br>

            <s:submit action="modifyUser"  value="Save User" align="center"/>
            <s:submit action="deleteUser" value="Delete User" align="center"/>
        </td>
    </tr>
</table>
<s:submit action="goToHome" value="Home" align="left"/>
<s:hidden name="userSeqNo"/>
</s:form>
</body>
</html>
